#pragma once
#include "afxwin.h"


// CArcAdd dialog

class CArcAdd : public CDialogEx
{
	DECLARE_DYNAMIC(CArcAdd)

public:
	CArcAdd(CWnd* pParent = NULL);   // standard constructor
	virtual ~CArcAdd();

// Dialog Data
	enum { IDD = IDD_ARC_ADD };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
  virtual BOOL OnInitDialog();
  afx_msg void OnStationSelChange();

public:
  tstring Name(void) { return name_.GetBuffer(0); }
  void set_name(const TCHAR* val) { name_ = val; }
  tstring tstation(void) { return Station.GetBuffer(0); }
  tstring template_arc_name(void) { return template_arc_name_.GetBuffer(0); }

public:
  BOOL FixStation;
  CString Station;
  const CMeasureArc *TemplateArc;

private:
  CString name_;
  CComboBox wnd_station_list_;
  CComboBox wnd_template_arc_;
  CString template_arc_name_;
  CListBox wnd_templatearc_station_;
};
